package com.swordget.controller;

import com.swordget.commons.BusinessResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author jianfeng.zhu
 * @Description 服务健康检查
 * @Date 17:40 2021/2/8
 **/
@RestController
@RequestMapping("/health")
public class HealthCheckController {

    @RequestMapping
    public BusinessResult healthCheck(){
        return new BusinessResult(200, "成功");
    }

}
